<template>
	<view>
		<!-- 订单 -->


		<view v-if="datalist.length">

			<template v-for="(item, index) in datalist">
				<oderitem :orderitem="item" :botshow="false" :stautshow="false"></oderitem>
			</template>

		</view>



	</view>
</template>

<script>
	import travelroute from "@/bundle4/pages/through/components/travelroute.vue"
	import oderitem from "@/bundle4/components/page/oderitem.vue"

	export default {
		props: {
			datalist: {
				type: Array,
				default: () => {
					return []
				}
			},
		},
		components: {
			travelroute,
			oderitem,
		},
		data() {
			return {

			}
		},
		methods: {
			// 详情
			toDetail(item) {
				uni.navigateTo({
					url: `/bundle4/pages/order/orderdetail?id=${item.id}`
				});
			},
		},
	}
</script>

<style lang="scss" scoped>
	@import "@/bundle4/css/Flex.scss";
	@import "@/bundle4/pages/order/css/dlist.scss";
</style>